<template>
    <button @click="handleClick">点击</button>
</template>

<script>
export default {
    methods: {
        handleClick () {
            console.log('点击成功');
        },
    },
}
</script>
